package com.bookm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bookm.bean.Book;
import org.apache.ibatis.annotations.Mapper;


public interface MPBookService extends IService<Book> {

    boolean saveBook(Book book);
    IPage<Book>getPage(int currentPage, int pageSize);
    IPage<Book> getPage(int currentPage, int pageSize, Book book);
}
